package com.panda.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.constraints.NotBlank;

/**
 * @Author: panda
 * @Date: 2022-05-18 15:48
 * @Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户注册信息")
public class UserVo {
    @ApiModelProperty("用户名")
    @NotBlank(message = "名字为必填项")
    private String username;
    @ApiModelProperty("用户密码")
    @NotBlank(message = "密码为必填项")
    private String passwordHash;
}
